import request from "@/utils/request";

export const loginApi = (data) => {
    return request({
        url: '/auth/login',
        method: 'post',
        data
    })
}
export const getUserApi = () => {
    return request({
        url: '/auth/currentUser',
        method: 'get'
    })
}
export const articleApi = (data) => {
    return request({
        url: '/admin/interview/query',
        params: data
    })
}
export const deleteApi = (data) => {
    return request({
        url: '/admin/interview/remove',
        method: 'delete',
        data:{
            id:data
        }
    })
}